package com.yic.module.system.controller.admin.appversion.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.yic.framework.common.pojo.PageParam;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;

import static com.yic.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - app版本更新 Excel 导出 Request VO，参数和 AppVersionPageReqVO 是一致的")
@Data
public class AppVersionExportReqVO {

    @Schema(description = "种类")
    private Integer category;

    @Schema(description = "版本号")
    private Integer versionCode;

    @Schema(description = "版本名称", example = "王五")
    private String versionName;

    @Schema(description = "版本信息")
    private String versionInfo;

    @Schema(description = "更新类型", example = "2")
    private String updateType;

    @Schema(description = "安卓链接", example = "https://www.iocoder.cn")
    private String androidUrl;

    @Schema(description = "IOS链接", example = "https://www.iocoder.cn")
    private String iosUrl;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
